<?php
/**
 * YD
 */
namespace app\infrastructure\uri;

use think\Controller;


class Uri extends Controller{
    /**
    *  resFul 主机IP
    */
//    const HOST = 'http://35.154.203.144:3010';
    const HOST = 'http://127.0.0.1:3010';
    //phprest接口主机
    const PHPRESTHOST="http://120.77.183.99:3017";

//    const HOST = 'http://47.91.104.102:3010';
    //后台登录接口
    const  ADMINUSER = '/api/adminUser/';
    //更新用户信息
    const UPDATEUSER= "/api/users/";

    //查寻所有用户
    const  USERLIST = '/api/users';
    //post查寻所有用户
    const  POSTUSERLIST="/api/users/postSelect";

    //查寻所有产品
    const PRODUCTLIST='/api/products';
    //添加产品
    const ADDPRODUCT="/api/products";
    //更新产品
    const UPDATEPRODUCT="/api/products";

    //查找优惠券
    const COUPONLIST="/api/coupon";
    //添加优惠券
    const ADDCOUPON="/api/coupon";
    //更新优惠券
    const UPDATECOUPON="/api/coupon";

    //查找发放优惠券记录
    const COUPONLOG="/api/log/type/coupon";

    //给用户发送优惠券
    const COUPONTOUSER="/api/usercoupons";
    //插入多条优惠券
    const INSERTMANYUSERCOUPON="/api/usercoupons/postMany";

    //查找用户的aadhaar
    const FINDAADHAARS="/api/useradhaars";
    //查找用户的个人信息认证
    const USERCERITYS="/api/usercertifys";
    //查找用户的公司认证
    const USERCOMPANYCERITYS="/api/usercompcertifys";

    //审核查询
    const SELECTCHECK="/api/loancheck";
    //更新审核记录
    const UPDATELOANCHECK="/api/loancheck/";
    //审核通过
    const CHECKPASS="/api/loancheck/checkUserLond/pass/";
    //审核不通过
    const CHECKNOPASS="/api/loancheck/checkUserLond/nopass/";


    //查询userloan
    const SELECTUSERLOAN="/api/userloans";
    //post查询userLoan
    const POSTSELECTUSERLOAN="/api/userloans/postSelect";

    //查询userRepay
    const SELECTUSERREPAY="/api/userrepay";

    //添加coupon日志
    const INSERTCOUPONLOG="/api/log/type/coupon";
    //添加多条coupon日志
    const INSERTMANYCOUPONLOG="/api/log/type/coupon/postmany";


    //查询banner列表
    const SELECTBANNER="/api/banner";
    //添加banner
    const CREATEBANNER="/api/banner";
    //修改banner
    const UPDATEBANNER="/api/banner/";

    //用户通讯录查询
    const SELECTUSERCONTACT="/api/usercontact";
    //用户短信post查询
    const SELECTUSERCONTACTPOST="/api/usercontact/selectList";

    //用户短信查询
    const SELECTUSERSMS="/api/usersms";
    //用户短信post查询
    const SELECTUSERSMSPOST="/api/usersms/selectList";
    //用户app下载历史查询
    const SELECTUSERAPPUSE="/api/userappuse";
    //用户短信post查询
    const SELECTUSERAPPUSEPOST="/api/userappuse/selectList";

    //新短信，APP，通讯录查询
    //用户短信post查询
    const SELECTUSERSMSPOSTNEW="/api/usersms/selectListNew";
    //用户app下载历史查询
    const SELECTUSERAPPUSEPOSTNEW="/api/userappuse/selectListNew";
    const SELECTUSERCONTACTPOSTNEW="/api/usercontact/selectListNew";



    //人脸识别查询
    const SELECTUSERFACE ="/api/userface";
    //人脸识别查询不查photo
    const GETALLFACE ="/api/userface/getAllFace";

    //逾期借款列表
    const SELECTDUELIST="/api/countrepaymoney/getDueLoan";
    //根据天数查询逾期列表
    const SELECTDUELISTBYDAY="/api/countrepaymoney/getdueUser/";

    //发送短信
    const SENDSMS="/api/smscodes/sendMessage";
    //发送推送
    const SENDAPPSMS="/api/onesignal/createMsg";

    //添加短信
    const SMSTMPADD="/api/smstmp";
    //查找短信
    const SELECTSMSTMP="/api/smstmp";
    //更新短信
    const UPDATESMSTMP="/api/smstmp/";

    //添加推送记录
    const ADDPUSHLOG="/api/logpush";
    //查询推送记录
    const SELECTPUSHLOG="/api/logpush";

    //查询借款交易记录
    const SELECTUSERLOANTRANSACTION="/api/userloantransaction";
    //post查询借款交易记录
    const POSTSELECTUSERLOANTRANSACTION="/api/userloantransaction/postselect";
    //交易成功
    const TRANSACYIONSUCCESS="/api/userloantransaction/success";
    //交易失败
    const TRANSACYIONFAILED="/api/userloantransaction/failed";

    //权限查询
    const SELECTAUTH="/api/adminauth";
    //post查询
    const POSTSELECTAUTH="/api/adminauth/postList";
    //权限添加
    const ADDAUTH="/api/adminauth";
       //权限添加
    const EDITAUTH="/api/adminauth/";

    //角色查询
    const SELECTROLE="/api/adminrole";
    //添加角色
    const ADDROLE="/api/adminrole";
    //修改角色
    const UPDATEROLE="/api/adminrole/";

    //查找后台所有用户
    const SELECTADMINUSER="/api/adminUser";
    //修改adminUser
    const UPDATEADMINUSER="/api/adminUser/";
    //添加后台用户
    const ADDADMINUSER="/api/adminUser";

    //查找某个用户的所有权限
    const FINDADMINUSERAUTH="/api/adminUser/auth/getUserAuth/";
    //查找用户的银行卡
    const SELECTUSERBANK="/api/useraccount/finduseraccount/";
    //查询用户银行卡
    const SELECTACCOUNT="/api/useraccount";

    //获取cibil分数
    const GETUSERCIBIL="/api/flashkb/getusercibil";

    //查询个人信息
    const SELECTPERSONINFO="/api/userPersonalInfo";

    //修改个人认证状态
    const UPDATEUSERCER="/api/usercertifys/";
    //修改公司认证状态
    const UPDATECOMPANYCER="/api/usercompcertifys/";
    //修改人脸识别状态
    const  UPDATEUSERFACE="/api/userface/";

    //坏账查询列表
    const SELECTDUEBAD="/api/countrepaymoney/getAllBadLoan";

    //添加印绶指引
    const ADDUSERGUIDE="/api/techGuide";
    //查询新手指引
   const SELECTUSERGUIDE="/api/techguide";
    //修改新手指引
    const UPDATEUSERGUIDE="/api/techGuide/";

    //发送语音催收
    const SENDVOICE="/api/smscodes/sendVoice/";

    //获取用户criff分值
    const GETUSERCRIFF="http://www.flashcash4now.com:3010/api/flashkb/getusercriffByPhone/";

    //修改借款交易状态
    const UPDATELOANTRANSACTION="/api/userloantransaction/";

    //查找系统配置
    const SELECTSYSCONFIG="/api/systemconfig";

    //查询用户高危短信
    const FINDHIGHRISKSMS="/api/admincerdit";

    //添加打款记录
    const  CREATETRANSACTIONRECORD="/api/adminTransaction";

    //注册定时事物
    const TIMEEXE="http://www.flashcash4now.com:3014/api/laterbaby";

    //查询appflyer数据
    const GETAPPFLYER="/appsflayer/getData/";

    //添加EWI 产品配置
    const ADDEWIPRODUCT="/api/productsewi";

    //还款行为分析
    const ANALYSEREPAYACTION="http://120.77.183.99:3016/crontab/analyseRepayAction";
 }